(global.webpackJsonp = global.webpackJsonp || []).push([ [ "wjyk_recycle/pages/goods-category/goods-category" ], {
    3072: function(n, t, e) {
        function o() {
            this.$createElement, this._self._c;
        }
        var i = [];
        e.d(t, "b", function() {
            return o;
        }), e.d(t, "c", function() {
            return i;
        }), e.d(t, "a", function() {});
    },
    "3b6d": function(n, t, e) {},
    "56c0": function(n, t, e) {
        (function(n) {
            function t(n) {
                return n && n.__esModule ? n : {
                    default: n
                };
            }
            e("8163"), t(e("66fd")), n(t(e("fb45")).default);
        }).call(this, e("543d").createPage);
    },
    "66e3": function(n, t, e) {
        var o = e("3b6d");
        e.n(o).a;
    },
    aee8: function(n, t, e) {
        e.r(t);
        var o, i = e("f7d0"), u = e.n(i);
        for (o in i) "default" !== o && function(n) {
            e.d(t, n, function() {
                return i[n];
            });
        }(o);
        t.default = u.a;
    },
    f7d0: function(n, i, u) {
        (function(t) {
            Object.defineProperty(i, "__esModule", {
                value: !0
            }), i.default = void 0;
            var n, o = (n = u("4795")) && n.__esModule ? n : {
                default: n
            };
            function c(n, t, e, o, i, u, a) {
                try {
                    var r = n[u](a), c = r.value;
                } catch (n) {
                    return e(n), 0;
                }
                r.done ? t(c) : Promise.resolve(c).then(o, i);
            }
            var e = {
                data: function() {
                    return {
                        menu: {
                            index: 0
                        },
                        options: {},
                        cateList: [],
                        unit: ""
                    };
                },
                onLoad: function(n) {
                    this.options = n, this.menu.index = n.index, this.unit = t.getStorageSync("name"), 
                    console.log("options", n), this.categoryList();
                },
                methods: {
                    onMenuList: function(n) {
                        console.log("index", n), this.menu.index = n;
                    },
                    confirmOrder: function(n) {
                        t.navigateTo({
                            url: "../goods-detail/goods-detail?goodsid=" + n
                        });
                    },
                    categoryList: function() {
                        var r, e = this;
                        return r = o.default.mark(function n() {
                            var t;
                            return o.default.wrap(function(n) {
                                for (;;) switch (n.prev = n.next) {
                                  case 0:
                                    return n.next = 2, e.$http({
                                        url: e.$api.goodsCateList
                                    });

                                  case 2:
                                    0 == (t = n.sent).errno && (e.cateList = t.data, console.log("获得分类列表", t, e.cateList));

                                  case 4:
                                  case "end":
                                    return n.stop();
                                }
                            }, n);
                        }), function() {
                            var n = this, a = arguments;
                            return new Promise(function(t, e) {
                                var o = r.apply(n, a);
                                function i(n) {
                                    c(o, t, e, i, u, "next", n);
                                }
                                function u(n) {
                                    c(o, t, e, i, u, "throw", n);
                                }
                                i(void 0);
                            });
                        }();
                    }
                }
            };
            i.default = e;
        }).call(this, u("543d").default);
    },
    fb45: function(n, t, e) {
        e.r(t);
        var o, i = e("3072"), u = e("aee8");
        for (o in u) "default" !== o && function(n) {
            e.d(t, n, function() {
                return u[n];
            });
        }(o);
        e("66e3");
        var a = e("f0c5"), i = Object(a.a)(u.default, i.b, i.c, !1, null, null, null, !1, i.a, void 0);
        t.default = i.exports;
    }
}, [ [ "56c0", "common/runtime", "common/vendor" ] ] ]);